package cn.damai.search.mapper;

import cn.damai.model.ItemType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItemTypeMapper {

	ItemType getItemTypeById(@Param(value = "id") Long id);

	List<ItemType>	getItemTypeListByMap(Map<String, Object> param);

	Integer getItemTypeCountByMap(Map<String, Object> param);

	Integer insertItemType(ItemType ItemType);

	Integer updateItemType(ItemType ItemType);

//	public Integer deleteItemTypeById(@Param(value = "id") Long id);
//
//	public Integer batchDeleteItemType(Map<String,List<String>> params);

}
